package com.homework.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * @desc:
 * @author: Ping
 * @date: 2024/9/17 21:39
 */
@Data
@Component
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
/*
单例和多例测试
 */
//@Scope("singleton")
//@Scope("prototype")
public class Permission {
    private int perId ;
    private String name ;
    private String url ;
}
